package com.jackiechancinema.ssm.dao;

import com.jackiechancinema.ssm.entity.Dreams;
import com.jackiechancinema.ssm.entity.Movices;

import java.util.List;

public interface DreamDao {
    //查询所有
    List<Dreams> queryAll();
    //新增
    int insertAdd(Dreams dreams);
    //修改
    int updateUpdate(Dreams dreams);
    //根据ID删除
    int deleteDel(int id);

    List<Dreams> queryAllV2(Dreams dreams);
}
